package third.lib.common.exception;

import third.lib.common.status.ThirdStatus;

public class ThirdException extends Exception {
    private int code;
    public ThirdException(ThirdStatus status){
        super(status.getMsg());
        this.code = status.getCode();
    }

    public int getCode() {
        return code;
    }
}
